//
//  ContentView.swift
//  FCSwiftUI
//
//  Created by 冯宣超 on 2023/2/18.
//

import SwiftUI

struct ContentView: View {
    var body: some View {
        VStack {
            Image(systemName: "globe")
                .imageScale(.large)
                .foregroundColor(.accentColor)
            Text("Hello, world! This is my swiftUI test, i will use it from today".capitalized)
//                .font(.body)
//                .fontWeight(.medium)
//                .bold()
//                .underline()
//                .underline(true, color: Color.accentColor)
//                .italic()
//                .strikethrough(true, color: Color.green)
//                .font(.system(size: 24, weight: .semibold, design: .serif))
//                .baselineOffset(-50.0)
//                .kerning(10)
//                .multilineTextAlignment(.leading)
//                .foregroundColor(.red)
                .frame(width: 200, height: 100, alignment: .leading)
                .minimumScaleFactor(0.1)
        }
        .padding()
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}
